using System.Threading.Tasks;

namespace DocumentCreationSystem.Services
{
    /// <summary>
    /// RWKV 本地推理后端接口（可插拔：ONNX / rwkv.cpp）
    /// </summary>
    public interface IRWKVBackend
    {
        /// <summary>加载本地模型</summary>
        Task LoadModelAsync(string modelPath);

        /// <summary>释放资源</summary>
        Task UnloadAsync();

        /// <summary>生成文本</summary>
        Task<string> GenerateAsync(string prompt, int maxTokens, float temperature);
    }
}

